package com.shengsiyuan.decorator;

/**
 * Created by deng_wb on 2019/8/11
 */
public class Decorator implements Component {

    private Component component;

    public Decorator(Component component){
        this.component= component;
    }

    @Override
    public void doSomething() {
        component.doSomething();
    }
}
